package mie.test;

import org.activiti.engine.delegate.DelegateTask;

public interface TaskListener extends org.activiti.engine.delegate.TaskListener {
    String EVENTNAME_CREATE = "create";
    String EVENTNAME_ASSIGNMENT = "assignment";
    String EVENTNAME_COMPLETE = "complete";
    String EVENTNAME_DELETE = "delete";
    /**
     * Not an actual event, used as a marker-value for {@link TaskListener}s that should be called for all events,
     * including {@link #EVENTNAME_CREATE}, {@link #EVENTNAME_ASSIGNMENT} and {@link #EVENTNAME_COMPLETE} and {@link #EVENTNAME_DELETE}.
     */
    String EVENTNAME_ALL_EVENTS = "all";

    void notify(DelegateTask delegateTask);
}
